<template>
    <Table :columns="columns11" :data="data10" border height="auto"></Table>
</template>
<script>
export default {
  data () {
    return {
      columns11: [
        {
          title: '收治情况',
          key: 'name',
          align: 'center',
          children: [
            {
              title: '当日新增',
              key: 'drxz',
              align: 'center',
              width: 100
            },
            {
              title: '累计救治',
              key: 'ljsz',
              align: 'center',
              width: 100
            },
            {
              title: '累计离院',
              key: 'ljly',
              align: 'center',
              width: 100
            },
            {
              title: '现有在院',
              key: 'xyzy',
              align: 'center',
              width: 100
            }
          ]
        },
        {
          title: '床位情况',
          key: 'cwqk',
          align: 'center',
          children: [
            {
              title: '床位总数',
              key: 'cwzs',
              align: 'center',
              width: 100
            },
            {
              title: '医用床位',
              key: 'yycw',
              align: 'center',
              width: 100
            }
          ]
        },
        {
          title: '接收患者来源',
          key: 'jshzly',
          align: 'center',
          children: [
            {
              title: '由桃仙机场转运收治',
              key: 'zy',
              align: 'center',
              width: 100
            },
            {
              title: '经三地辗转收治',
              key: 'sz',
              align: 'center',
              width: 100
            },
            {
              title: '由隔离点发现收治',
              key: 'glfx',
              align: 'center',
              width: 100
            },
            {
              title: '总计',
              key: 'zj',
              align: 'center',
              width: 100
            }
          ]
        },
        {
          title: '收治患者国籍分布',
          key: 'szhzgjfb',
          align: 'center',
          children: [
            {
              title: '中国籍',
              key: 'zgj',
              align: 'center',
              width: 100
            },
            {
              title: '外国籍',
              key: 'wgj',
              align: 'center',
              width: 100,
              children: [
                {
                  title: '韩籍',
                  key: 'hj',
                  align: 'center',
                  width: 100
                },
                {
                  title: '日籍',
                  key: 'rj',
                  align: 'center',
                  width: 100
                },
                {
                  title: '伊朗',
                  key: 'yl',
                  align: 'center',
                  width: 100
                },
                {
                  title: '意大利',
                  key: 'ydl',
                  align: 'center',
                  width: 100
                },
                {
                  title: '其他国籍',
                  key: 'qtgj',
                  align: 'center',
                  width: 200
                }
              ]
            }
          ]
        }
      ],
      data10: []
    }
  },
  mounted () {
    const data = []
    data.push({
      drxz: '5',
      ljsz: '220',
      ljly: '214',
      xyzy: '6',
      cwzs: '72',
      yycw: '6',
      zy: 'KE831(3)',
      sz: '0',
      glfx: '2',
      zj: '5',
      zgj: '214',
      hj: '2',
      rj: '1',
      yl: '0',
      ydl: '0',
      qtgj: '3'
    })
    this.data10 = data
  }
}
</script>
